//华为样式
.el-dropdown-menu__item {
  font-size: 12px !important;
  line-height: 28px !important;
}

.el-card.is-always-shadow {
  box-shadow: none;
  border: none !important;
}

.el-scrollbar__view {
  height: 100%;
}

.el-menu--horizontal {
  border-bottom: none !important;
}

.el-menu {
  border-right: none !important;
}

.el-menu--display,
.el-menu--display + .el-submenu__icon-arrow {
  display: none;
}

.el-message__icon,
.el-message__content {
  display: inline-block;
}

.el-date-editor .el-range-input,
.el-date-editor .el-range-separator {
  height: auto;
  overflow: hidden;
}

.v-modal {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed !important;
}

.el-dialog__wrapper {
  z-index: 2048;
}

.el-dialog {
  //margin-top: 5px!important;
}

.el-dialog .el-dialog__body {
  padding: 10px;
  padding-left: 10px !important;
  font-size: 12px !important;
}

.el-dialog__header {
  top: 0px;
  left: 0px;
  height: 40px;
  width: 100%;
  line-height: 40px;
  background-color: rgb(245, 245, 245);
  box-sizing: border-box;
  font-size: 14px;
  padding: 0px 10px;
}

.el-dialog__headerbtn {
  position: absolute;
  right: 20px;
  top: 10px;
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  cursor: pointer;
  font-size: 18px;
  line-height: 20px;
  border-radius: 3px;
}

.el-dialog__headerbtn:hover {
  background-color: #E64A19;
}

.el-dialog__title {
  font-size: 14px;
}

.el-col {
  margin-bottom: 8px;
}

.el-main {
  padding: 0 !important;
}

.el-dropdown-menu__item--divided:before, .el-menu, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-submenu .el-submenu__title:hover {
  background-color: transparent;
}

.el-dropdown-menu__item--divided:before, .el-menu, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-submenu .el-submenu__title:hover {
  background-color: transparent !important;
}

.el-scrollbar {
  height: 100%;
}

.el-scrollbar .el-scrollbar__wrap {
  overflow-x: hidden;
  border-width: 1px;
  border-style: solid;
  border-color: #BFBFBF;
}

.el-tree > .el-tree-node {
  min-width: 100%;
  display: inline-block;
}

//tree 字体背景样式
.el-tree-node.is-current > .el-tree-node__content {
  color: #e50017;
  background-color: #F5F7FA;
}

.el-form-item__error {
  width: 300px;
}

.el-divider--horizontal {
  margin: 5px 0;
}

.el-table--border, .el-table--group {
  border: none;
}

.el-table--border::after, .el-table--group::after {
  top: 0;
  right: 0;
  width: 0px;
  height: 100%;
}

.el-table{
  table-layout: fixed;
  width: 100%;
  white-space: nowrap;
  border-bottom: 1px solid #e5e5e5;
  background-color: #fff;
  border-top: 1px solid #bac0c6;
  border-spacing: 0;
  border-collapse:separate;
  tbody tr.tr-odd td{
    background-color: #f4f6fa;
    font-family: Roboto-Regular,'Microsoft YaHei',Arial;
  }
  tbody tr{
    background-color: #ffffff;
    counter-increment: row-number;
    border-collapse: separate;
    border-top: 1px solid #e5e5e5;
    height: 4.2rem;
    color: #36383c;
    font-size: 14px;
    &:nth-child(odd) {
      background: #f4f6fa;
    }
    &:hover{
      th,td{
        background: #e8edf2;
      }
    }
  }
  tr{
    border: none;
    font-family: Roboto-Regular,'Microsoft YaHei',Arial;
  }
  td{
    border: none;
    border-top: 1px solid #e5e5e5;
    text-align: left !important;
  }
  thead {
    display: table-header-group;
    vertical-align: middle;
    border-color: inherit;
    border-collapse: separate;
    border-top: 1px solid #bac0c6;
    white-space: nowrap;
    background-color: #fff;
    font-family: Roboto-Regular, 'Microsoft YaHei', Arial;
    tr {
      background-color: #f4f6fa;
      display: table-row;
      vertical-align: inherit;
      border: none;
      border-top: 1px solid #bac0c6;
      border-bottom: 1px solid #bac0c6;
      font-family: Roboto-Regular, 'Microsoft YaHei', Arial;
      height: 2.65rem;
    }

    td {
      border: none;
      border-top: 1px solid #e5e5e5;
      font-family: Roboto-Regular, 'Microsoft YaHei', Arial;
      text-align: left !important;
    }

    th {
      border: none;
      background-color: #ffffff;
      font-weight: 400;
      padding: 0 .5rem;
      white-space: nowrap;
      position: relative;
      line-height: 1.5;
      display: table-cell;
      vertical-align: inherit;
      text-align: left !important;
      font-size: 12px;
      letter-spacing: .0625rem;
      color: #6f7479;
    }
    th:before,th:after {
      height: 1.1rem;
      content: '';
      left: 0;
      position: absolute;
      background: #e5e5e5;
      width: 1px;
      top: .8rem;
    }
  }
}

.el-table th>.cell {
  color: #6f7479;
}

.el-button--text {
  color: #0ea5f3;
}


.el-form-item__label, .el-input__inner, .el-form-item__content,
.el-radio__label, .el-select-dropdown__item, .el-select-dropdown__empty {
  font-size: 12px;
}

.el-form-item {
  border: 1px solid #e1e3e5;
  font-family: Roboto-Regular,'Microsoft YaHei',Arial;
  position: relative;
}

.el-form-item__label{
  width: 150px;
  font-size: 12px;
  color: #91989e;
  margin-right: 0;
  display: block;
  text-align: left;
  padding: 4px 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: keep-all;
  height: 22px;
  line-height: 13px;
  padding-left: 4px;
}

.el-input__inner {
  /* padding-left: 0px; */
  margin-left: 14px;
  background: 0 0;
  height: 22px;
  line-height: 1.5rem;
  padding: 0;
  outline: none;
  border: none !important;
  width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.el-form-item__content{
  margin-left: 0px !important;
  line-height: 23px;
}

.el-textarea__inner{
  border: none;
}

.el-form-item--mini.el-form-item, .el-form-item--small.el-form-item {
  width: 45%;
}


.el-form-item--mini .el-form-item__label{
  line-height: 20px;
}

.el-form-item--mini.el-form-item, .el-form-item--small.el-form-item {
  width: 100%;
}

.el-select--mini{
  width: 100%;
}

.el-form-item--mini .el-form-item__content{
  height: 22px;
  width: 100%;
  line-height: 22px;
  float: left;
}

.el-form-item--mini.el-form-item{
  width: 45%;
}

.el-input--mini .el-input__inner {
  height: 19px;
  line-height: 29px;
}
//.el-row .el-input--mini {
//  border: 1px solid #e1e3e5;
//}

th {
  font-weight: normal;
}

.avue-crud__menu {
  min-height: 0px;
}

.el-button{
  border-radius: 1px;
}
.el-button--default{
  color: #36383c;
  border-color: #bfc4cc;
}

.el-button--text {
  color: #4284D7;
}

//按钮样式
.el-button--primary.is-plain {
  border-color: #e50017;
  background-color: #e50017;
  color: #fff;
}

//, .el-button--primary.is-plain:hove

.el-button--primary.is-plain:focus ,.el-button--primary.is-plain:hover,
.el-button--primary:focus, .el-button--primary:hover,
.el-button--danger.is-plain:hover {
  border-color: #e50017;
  background-color: #e50017;
  color: #fff;
}

.el-button--default.is-plain:hover , .el-button--default:hover{
  border: 1px solid #bfc4cc;
  border-radius: 1px;
  color: #36383c;
}

.el-button--primary {
  border: 1px solid #e50017;
  background-color: #e50017;
  color: #fff;
}

.el-button--primary:hover {
  background-color: #e50017;
  border-color: #e50017;
  color: #fff;
}

//下拉选中样式
.el-popper[x-placement^=bottom] {
  //top: 60px !important;
}
.el-select-dropdown__item.selected {
  color: #fff;
  background-color: #e50017;
}

.el-select-dropdown__item.hover{
  background-color: #f0f7ff;
}

.el-select-dropdown__item.selected.hover {
  color: #fff;
  background-color: #e50017;
}

.el-select-dropdown .el-scrollbar .el-scrollbar__view .el-select-dropdown__item {
  width: auto;
}

.pagination li a.active, .pagination li a:hover {
  background: #e50017;
}

.el-radio__input.is-checked+.el-radio__label {
  color: #e50017;
}

.el-radio__input.is-checked .el-radio__inner {
  border-color: #e50017;
  background: #e50017;
}

.customize-add:hover{
  border-color: #e50017;
}
